package com.hoyue.dao;

import com.hoyue.bean.Introduction;

import java.sql.SQLException;
import java.util.List;

/**
 * @author Hoyue_network1
 * @version 1.0
 * Creat by 2018/8/23 18:08
 */
public interface IntroductionDao {

	/**
	 * 更新简介内容
	 * @param introduction
	 * @throws SQLException
	 */
	void updateIntro(Introduction introduction) throws SQLException;

	/**
	 * 返回简介集合
	 * @return
	 * @throws SQLException
	 */
	List<Introduction> getAllIntro() throws SQLException;
}
